/**
 * @project_name staff_vehicle
 * @package_name com.ssh.model.pdata
 * @desc TODO
 * @param
 * @author jack
 * @date 2013-4-26
 * @time 下午9:17:04
 */
package com.ssh.model.pdata;

import java.text.DateFormat;
import java.util.Date;

/**
 * @author jack StaffMPData use to display info_manage.jsp page display data
 */
public class StaffMPData {
	private String address;
	private Date birthday;
	private String departmentName;
	private String email;
	private String firstName;
	private String lastName;
	private String marriage;
	private String sex;
	private String staffId;
	private Long staffTel;

	public StaffMPData() {
		super();
	}

	public static String formatBirthday(Date date) {
		return DateFormat.getInstance().format(date);
	}

	public StaffMPData(String address, Date birthday, String departmentName,
			String email, String firstName, String lastName, String marriage,
			String sex, String staffId, Long staffTel) {
		super();
		this.address = address;
		this.birthday = birthday;
		this.departmentName = departmentName;
		this.email = email;
		this.firstName = firstName;
		this.lastName = lastName;
		this.marriage = marriage;
		this.sex = sex;
		this.staffId = staffId;
		this.staffTel = staffTel;
	}

	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * @return the birthday
	 */
	public Date getBirthday() {
		return birthday;
	}
	/**
	 * @return the departmentName
	 */
	public String getDepartmentName() {
		return departmentName;
	}
	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}
	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}
	/**
	 * @return the marriage
	 */
	public String getMarriage() {
		return marriage;
	}
	/**
	 * @return the sex
	 */
	public String getSex() {
		return sex;
	}
	/**
	 * @return the staffId
	 */
	public String getStaffId() {
		return staffId;
	}
	/**
	 * @return the staffTel
	 */
	public Long getStaffTel() {
		return staffTel;
	}
	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * @param birthday the birthday to set
	 */
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	/**
	 * @param departmentName the departmentName to set
	 */
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	/**
	 * @param firstName the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	/**
	 * @param lastName the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	/**
	 * @param marriage the marriage to set
	 */
	public void setMarriage(String marriage) {
		this.marriage = marriage;
	}
	/**
	 * @param sex the sex to set
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}
	/**
	 * @param staffId the staffId to set
	 */
	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}
	/**
	 * @param staffTel the staffTel to set
	 */
	public void setStaffTel(Long staffTel) {
		this.staffTel = staffTel;
	}

}
